package com.xbx.admin.entity.user.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 地区数据权限对象
 *
 * @author 89005691
 * @create 2018-08-30 21:08
 */
@Data
@ApiModel("授予数据权限对象")
public class UserAllocateDataInfoForm {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", example = "1", required = true)
    private Long id;

    @ApiModelProperty(value = "地区id集合", example = "1,2", required = true)
    private String areaIds;
}
